<?php
require_once('./TDBCommon.php');
class TMySQL extends TDBCommon
{
	protected function getDSN(){
		$dsn = 'mysql:dbname='.self::CONF::DB_NAME.';host='.self::CONF::DB_HOST;
		if(self::CONF::DB_PORT != ''){
			$dsn .= ';port='.self::CONF::DB_PORT;
		}
		return $dsn;
	}
}
